package chapter04.Example19;
class Animal{
    public String toString(){
        return "这是动物";
    }
}
public class Example19 {
    public static  void main (String[]args){
        Animal animal = new Animal();
        System.out.println(animal.toString());
    }
}
